﻿using System;
using System.Windows.Forms;

namespace FireStarterModeller
{
    public partial class About : Form
    {
        public About()
        {
            InitializeComponent();
        }

        private void linkWebsite_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start("http://www.habanerolabs.com/");
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void About_Load(object sender, EventArgs e)
        {
            lblRegisteredUserName.Text = Program.RegisteredUserName;
            string version;
            version = lblVersion.Text;
            version = version.Replace("[FS_VERSION]", Program.FireStarterVersion);
            version = version.Replace("[HAB_VERSION]", Program.HabaneroVersion);
            lblVersion.Text = version;
 //           string build;
//            build = lblBuild.Text;
//            build = build.Replace("[BUILD]", Program.FireStarterBuild);
//            lblBuild.Text = build;
        }
    }
}
